﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace sz.db.model
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("bus_packing_information")]
    public partial class bus_packing_information
    {
           public bus_packing_information(){


           }
           /// <summary>
           /// Desc:编号
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string id {get;set;}

           /// <summary>
           /// Desc:车间编码/工厂代码
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string workshop_id {get;set;}

           /// <summary>
           /// Desc:批次号
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string batch_id {get;set;}

           /// <summary>
           /// Desc:订单号码
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string order_number {get;set;}

           /// <summary>
           /// Desc:包编号
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public string package_id {get;set;}

           /// <summary>
           /// Desc:件数
           /// Default:1
           /// Nullable:True
           /// </summary>           
           public int? quantity {get;set;}

           /// <summary>
           /// Desc:层数
           /// Default:1
           /// Nullable:True
           /// </summary>           
           public int? layers {get;set;}

           /// <summary>
           /// Desc:纸箱长度
           /// Default:0.00
           /// Nullable:True
           /// </summary>           
           public decimal? carton_length {get;set;}

           /// <summary>
           /// Desc:纸箱宽度
           /// Default:0.00
           /// Nullable:True
           /// </summary>           
           public decimal? carton_width {get;set;}

           /// <summary>
           /// Desc:纸箱高度
           /// Default:0.00
           /// Nullable:True
           /// </summary>           
           public decimal? carton_height {get;set;}

           /// <summary>
           /// Desc:总重量（kg）
           /// Default:0.00
           /// Nullable:True
           /// </summary>           
           public decimal? weight {get;set;}

           /// <summary>
           /// Desc:中文描述
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string description_zh {get;set;}

           /// <summary>
           /// Desc:数据创建时间
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:True
           /// </summary>           
           public DateTime? created_time {get;set;}

           /// <summary>
           /// Desc:所属机构编码
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string office_id {get;set;}

           /// <summary>
           /// Desc:修改方式(0：自动，1：手动)
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string update_mode {get;set;}

           /// <summary>
           /// Desc:导入模式(0：自动，1：手动)
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public string import_mode {get;set;}

           /// <summary>
           /// Desc:导入操作人
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string import_by {get;set;}

           /// <summary>
           /// Desc:数据导入云标识(0：未导入，1：已导入)
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public string send_to_cloud_flag {get;set;}

           /// <summary>
           /// Desc:加工机器：1-机器1，2-机器2，3-机器3，4-机器4，5-机器5
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public string dvm {get;set;}

           /// <summary>
           /// Desc:数据导入历史标识(0：未加工完成，1：未导入，2：已导入)
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public string send_to_his_flag {get;set;}

    }
}
